﻿using EraNet.Core.Model.Account;
using System.Data.Entity.ModelConfiguration;
namespace EraNet.Data.Mapping.Account
{
    public partial class AdminMemberMap : EntityTypeConfiguration<AdminMember> 
    {
        public AdminMemberMap()
        {
            this.ToTable("Era_AdminMember");
            this.HasKey(a => a.Id);
            this.Property(a => a.AccountName).IsRequired();
            this.Property(a => a.Password).IsRequired();
        }
    }
}
 